
find_library(CORETEXT CoreText)
find_library(METAL Metal)
find_library(QUARTZCORE QuartzCore)
find_library(COREMOTION CoreMotion)
find_library(AVKIT AVKit)
find_library(COREGRAPHICS CoreGraphics)
find_library(AUDIOTOOLBOX AudioToolbox)
find_library(COREFOUNDATION CoreFoundation)
find_library(COREVIDEO CoreVideo)
find_library(MEDIAPLAYER MediaPlayer)
find_library(GAMEKIT GameKit)
find_library(OPENGLES OpenGLES)
find_library(AVFOUNDATION AVFoundation)
find_library(UIKIT UIKit)
find_library(MOBILECORESERVICES MobileCoreServices)
find_library(SYSTEMCONFIGURATION SystemConfiguration)
find_library(CFNETWORK CFNetwork)
find_library(ACCELERATE Accelerate)
find_library(COREBLUETOOTH CoreBluetooth)

target_link_libraries(${APP_NAME} ${CORETEXT})
target_link_libraries(${APP_NAME} ${METAL})
target_link_libraries(${APP_NAME} ${QUARTZCORE})
target_link_libraries(${APP_NAME} ${COREMOTION})
target_link_libraries(${APP_NAME} ${AVKIT})
target_link_libraries(${APP_NAME} ${COREGRAPHICS})
target_link_libraries(${APP_NAME} ${AUDIOTOOLBOX})
target_link_libraries(${APP_NAME} ${COREFOUNDATION})
target_link_libraries(${APP_NAME} ${COREVIDEO})
target_link_libraries(${APP_NAME} ${MEDIAPLAYER})
target_link_libraries(${APP_NAME} ${GAMEKIT})
target_link_libraries(${APP_NAME} ${OPENGLES})
target_link_libraries(${APP_NAME} ${AVFOUNDATION})
target_link_libraries(${APP_NAME} ${UIKIT})
target_link_libraries(${APP_NAME} ${MOBILECORESERVICES})
target_link_libraries(${APP_NAME} ${SYSTEMCONFIGURATION})
target_link_libraries(${APP_NAME} ${CFNETWORK})
target_link_libraries(${APP_NAME} ${ACCELERATE})
target_link_libraries(${APP_NAME} ${COREBLUETOOTH})

